package com.wuyb.pojo.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 设置用户为管理员
 *
 * @Author: wyb
 * @Date: 2024/01/03/14:16
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "User设置管理员")
public class UserSetAdminParam {

    @ApiModelProperty(value = "id",required = true)
    @NotNull(message = "id不能为空")
    private Integer id;

    @ApiModelProperty(value = "是否为管理员",required = true)
    @NotNull(message = "管理员状态不能为空")
    private Boolean isAdmin;
}
